<?php

class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
	
protected function _initViewHelpers()
   {
        $view= new Zend_View();
        $viewRenderer = new Zend_Controller_Action_Helper_ViewRenderer();
        $view->addHelperPath('ZendX/JQuery/View/Helper/', 'ZendX_JQuery_View_Helper');
        $viewRenderer->setView($view);
        Zend_Controller_Action_HelperBroker::addHelper($viewRenderer);	
    }

# nie pretestowane niby daje profilowania wszystkich zapytan 
# 10-02-2012 zend pakage sre    113
/*
protected function _initDbProfiler()
{
	$this->_logger->info('Bootstrap ' . __METHOD__);
	if ('production' !== $this->getEnvironment()) 
	{
		$this->bootstrap('db');
		$profiler = new Zend_Db_Profiler_Firebug('All DB Queries');
		$profiler->setEnabled(true);
		
		$this->getPluginResource('db')->getDbAdapter()->setProfiler($profiler);
	}
}
*/
    
}

